﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true" CodeFile="restoranDetay.aspx.cs" Inherits="restoranDetay" %>

<%--Restoranın Ürün Gruplarınını Görüleceği sayfa--%>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style10
        {
            width: 100%;
        }
        .style11
        {
            width: 28px;
        }
        .style12
        {
            width: 25px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:DataList ID="dtlGruplar" runat="server" 
        onitemdatabound="dtlGruplar_ItemDataBound" 
        onselectedindexchanged="dtlGruplar_SelectedIndexChanged">
        <ItemTemplate>
            <table class="style10">
                <tr>
                    <td>
                        <asp:Label ID="lblGrupAdi" runat="server" Font-Size="Larger" 
                            Text='<%# Eval("Adi") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DataList ID="dtListUrunler" runat="server" 
                            onitemcommand="dtListUrunler_ItemCommand">
                            <ItemTemplate>
                                <table class="style10">
                                    <tr>
                                        <td class="style11">
                                            <asp:LinkButton ID="LinkButton2" runat="server" 
                                                CommandArgument='<%# Eval("ID") %>' CommandName="ekle">Ekle</asp:LinkButton>
                                        </td>
                                        <td class="style12">
                                            <asp:TextBox ID="TextBox1" runat="server" Width="20px"></asp:TextBox>
                                        </td>
                                        <td>
                                            <asp:LinkButton ID="LinkButton3" runat="server" Text='<%# Eval("Adi") %>'></asp:LinkButton>
                                        </td>
                                    </tr>
                                </table>
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>

